#!/bin/sh
#
# Thanks Mark.
#

# CHANGEME

echo `date` : Backup : bricabox_prod
/usr/bin/mysqldump -u web_user --quick bricabox_prod > /path/to/some/directory/bricabox_prod-`date +%Y%m%d`.dmp

echo `date` : Compressing...
nice bzip2 -9 /path/to/some/directory/*.dmp
echo `date` : Done

